# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-panel
pkgver=3.44.0
pkgrel=0
pkgdesc="Gnome Panel provides panels and default applets for the gnome-flashback desktop"
url="https://wiki.gnome.org/Projects/GnomePanel"
# s390x and riscv64 blocked by polkit
arch="all !s390x !riscv64"
license="GPL-2.0-or-later"
makedepends="gnome-desktop-dev gtk+3.0-dev glib-dev pango-dev libwnck3-dev
	gnome-menus-dev evolution-data-server-dev libgweather4-dev dconf-dev
	libxrandr-dev elogind-dev gnome-desktop-dev gdm-dev polkit-dev itstool
	gtk-doc libxres-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-panel/${pkgver%.*}/gnome-panel-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b3300f6943c970b9a2ea27b9459ab82e634226372006b7748551e6c8c24897c9df4ab2bc5528eae6758d9cd431cb2428465ef30fdcc012ddac7c69cd4f43f966  gnome-panel-3.44.0.tar.xz
"
